<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body onload="init()">
<div class="layui-form" lay-filter="maprules">
    <div class="layui-form-item">
        <!-- <label class="layui-form-label required">文件</label> -->
        <div class="layui-input-block">
            <input type="file" id="member-file" name="excelfile" >
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
			<select lay-filter="sheetNames" id="sheetNames" name="excelsheet">
			</select>
        </div>
    </div>

    <!-- <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认</button>
        </div>
    </div> -->

    <div class="layui-form-item">
        <div class="layui-input-block">
            <table class="layui-table" lay-size="lg">
                <thead>
                    <tr>
                        <th>系统字段</th>
                        <th>导入列</th>
                    </tr>
                </thead>
                <tbody  id="mapping_member">
                    <tr>
                        <td>姓名</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="username" name="username" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>手机号</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="userphone" name="userphone" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>省</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="province" name="province" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>市</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="city" name="city" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>区</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="district" name="district" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>详细地址</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="detailaddress" name="detailaddress" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>完整地址</td>
                        <td>
                            <div class="layui-form-item" lay-filter="maprules">
                                <div class="layui-input-block">
                                    <select id="fulladdress" name="fulladdress" class="import">
                                    </select>
                                </div>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认</button>
            <!-- <input class="layui-btn layui-btn-normal" type="button" value="取消" onclick=""/> -->
        </div>
    </div>
</div>
<script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../js/Members-import.js"></script>
<script src="../../js/xlsx.core.min.js"></script>
</body>
</html>